<?php

namespace App\Models;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Factories\HasFactory;
class Company extends Model{
    use HasFactory;
    protected $table = "company";
    protected $casts = [
        'created_at' => 'datetime:Y-m-d H:i:s',
        'updated_at' => 'datetime:Y-m-d H:i:s',
    ];

    protected $guarded = array('id', 'name');
    protected $fillable = ['name', 'phone','content','pid','created_at','updated_at','sort','status','address'];
    /**
     * 模型日期字段的存储格式。
     *
     * @var string
     */
}
